package com.msr.service;

import com.msr.bean.Desk;

import java.util.List;

/**
 * @author tom
 * @version V1.0
 * @Package com.msr.service
 * @date 2024/1/10 9:58
 * @Copyright © 株式会社多言语系统研究所
 */
public interface DeskService {
    //1、查询所有的餐桌信息
    public List<Desk> deskAll(String name);

    int saveDesk(String name);

    //3、餐桌删除
    int delDesk(int deskId);

    int changeState(Desk desk);

    //5、根据餐桌id获取餐桌对象
    Desk findDeskById(int id);
}
